# -*- coding: utf-8 -*-
"""纯工具类，不应该从model或view中import东西，而是被import的"""

from .misc import (
    check_object_ids, get_objectId, trim, safe_float, safe_int,
    id_encrypt, id_decrypt, points2distance,
    filter_text, smart_str, allowed_file, compressed_dict,
    filter_text, smart_str, allowed_file, valid_object_id)
from .email import send_email, send_staff_dialog_email
from .api import api_ok, api_error, wrapper_signature, wrap_response
from .mars_utils import mars_to_earth
from .search_utils import SearchClient
from .html5 import wrap_h5, Html5BaseMixin
from .baidu_channel import get_access_token, ChannelClient
